![]() 08/16/2014 at 19:48 • Filed to: OPPO, IGP, Formula | ![]() | ![]() |
So I would imagine most of you IGP managers are testing your cars right now. I was going through the games code today and discovered some interesting code that should help create a better car setup.
The code is as follows -
"
valDif === 0 ? 'Feels good' :
valDif < 0 ? 'Increase'
valDif > 0 ? 'Decrease' :
absDif === 0 ? ''
absDif <= 5 ? ' by ' + absDif
absDif > 5 && absDif <= 10 ? ' a little'
absDif > 20 ? ' a lot'
"
What this code does is it generates the driver feedback you see after the end of each test. If the difference between the desired value is less than 5, it will display the actual number. If the difference is between 5 and 10, it will display + or - a little. If the difference is greater than 10 and less than 20, it will display increase or decrease. If the difference is greater than 20, it will display + or - a lot.
Hope this helps!
![]() 08/16/2014 at 20:12 |
|
Used this on my last 2 practice runs and got all but 2 parameters labelled "Feels good". Thanks!
![]() 08/16/2014 at 20:36 |
|
No problem, best of luck!!!
![]() 08/16/2014 at 20:40 |
|
You too!
![]() 08/16/2014 at 21:07 |
|
I didn't know about this, but my predictions with how much adjustment I needed with what the driver feedback told me are pretty dead on. Except for when he tells me decrease/increase a lot, I was doing 20.
![]() 08/16/2014 at 23:34 |
|
!!! UNKNOWN CONTENT TYPE !!!
This from the excel spreadsheet I linked in league chat.
![]() 08/16/2014 at 23:48 |
|
great, now figure out what each one does lol
![]() 08/16/2014 at 23:55 |
|
I'll see what I can dig up.
![]() 05/20/2015 at 01:04 |
|
We miss ya, hope some day you are able to return.